package cn.rkylin.oms.system.stockpush.dao;

import java.util.List;

import cn.rkylin.oms.system.stockpush.domain.StockFmlaRatioStorage;
import cn.rkylin.oms.system.stockpush.vo.StockFmlaRatioStorageVO;

public interface IStockFmlaRatioStorageDAO {
    int deleteByPrimaryKey(String ratioId) throws Exception;

    int insert(StockFmlaRatioStorage record) throws Exception;

    int insertSelective(StockFmlaRatioStorage record) throws Exception;

    StockFmlaRatioStorage selectByPrimaryKey(String ratioId) throws Exception;

    int updateByPrimaryKeySelective(StockFmlaRatioStorage record) throws Exception;

    int updateByPrimaryKey(StockFmlaRatioStorage record) throws Exception;
    
    /**
     * selectBySelectiveValue:根据复合查询条件查询仓库推送比例. <br/>
     *
     * @author zhanghao
     * @param stockFmlaRatioStorageVO
     * @return 仓库店铺推送比例列表
     * @throws Exception
     * @since JDK 1.6
     */
    List<StockFmlaRatioStorage> selectBySelectiveValue(StockFmlaRatioStorageVO stockFmlaRatioStorageVO) throws Exception;
}